package com.example.test.service;

import com.example.test.mapper.RolePermissionMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Set;

@Service
public class RolePermissionService {


     @Autowired
     private RolePermissionMapper rolePermissionMapper;

     public Set<String> getPermission(Integer uid){

         return rolePermissionMapper.getPermission(uid);
     }


}
